package tgc.edu.tms.web.form;

import tgc.edu.tms.custom.BaseForm;
import tgc.edu.tms.entity.ClassSchedule;
import tgc.edu.tms.entity.Teacher;
import tgc.edu.tms.entity.Teachingplan;

public class TeachingForm extends BaseForm<Integer>{
	private String time;//时间
	private ClassSchedule kc;// 课表
	private String number;// 上课人数
	private Teachingplan teachingplan;//上课内容
	private String working;// 工作量
	private String absence;// 缺勤人数
	private String remark;// 备注
	private String name; 
	private String kcmc;
	/*private Teacher teacher;
	
	
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}*/
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getKcmc() {
		return kcmc;
	}
	public void setKcmc(String kcmc) {
		this.kcmc = kcmc;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public ClassSchedule getKc() {
		return kc;
	}
	public void setKc(ClassSchedule kc) {
		this.kc = kc;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public Teachingplan getTeachingplan() {
		return teachingplan;
	}
	public void setTeachingplan(Teachingplan teachingplan) {
		this.teachingplan = teachingplan;
	}
	public String getWorking() {
		return working;
	}
	public void setWorking(String working) {
		this.working = working;
	}
	public String getAbsence() {
		Integer i = Integer.valueOf(number);
		String a = String.valueOf(kc.getTbclassNumber()-i);
		return a;
	}
	public void setAbsence(String absence) {
		this.absence = absence;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
